<div id="modnews" class="module <?php echo $title['class'] ?>">
	<div class="module-title">
		<div class="titleL"></div>
		<div class="titleC">
			<h3 class="title-main-content"><?php echo $title['title'] ?></h3>
		</div>
		<div class="titleR"></div>
	</div>
	<div class="module-content">
		<div class="module-content-inner clear">
			<div class="news">
                <?php 
                if(!empty($tintuc)):
                $i = 0;
                foreach($tintuc as $tintuc){
                    $link = base_url().'/frontend/artice/index/tin-tuc/'.$tintuc->alias.'.html';
                     if($i == 0){
                        ?>
                        <div class="newsleft fLeft">
                            <img src="<?php echo $tintuc->image; ?>" alt="<?php echo $tintuc->title ; ?>"/>
                            <a class="name" href="<?php echo $link ; ?>"><?php echo $tintuc->title ; ?></a>
        				    <p><?php echo $tintuc->introtext; ?></p>
                        </div>
                        <div class="newsright fRight">
                        <?php
                     }else{
                        ?>
                            <div class="row"> 
        						<div class="rowleft fLeft">
        							<img src="<?php echo $tintuc->image; ?>" alt="<?php echo $tintuc->title ; ?>"/>
        						</div>
        						<div class="rowright fRight">
        							<a class="name" href="<?php echo $link ; ?>"><?php echo $tintuc->title ; ?></a>
        							<p><?php echo $tintuc->introtext; ?></p>
        						</div>
        					</div>
                        <?php
                     }$i ++;
                }
                echo '</div>';
                endif; // End if
                ?>
                       
            </div>
				
		</div>
	</div>
</div>